package com.spic.business.hidden.special.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.spic.business.common.core.domain.BasicEntity;
import com.spic.common.core.annotation.Excel;

import java.util.Date;
import java.util.List;

/**
 * 隐患排查计划对象 hidden_special_screen_program
 *
 * @author yangjie
 * @date 2021-10-14
 */
public class HiddenSpecialScreenProgram extends BasicEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    private String serialCode;

    /** 任务名称 */
    @Excel(name = "任务名称")
    private String taskName;

    /** 排查方式 */
    @Excel(name = "排查方式",dictType = "screen_method_type")
    private String screenMethod;

    private String placeName;

    /** 排查时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @Excel(name = "排查时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date screenTime;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date startTime;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date endTime;

    /** 排查路线 */
    private String screenLines;

    /** 排查范围 */
    private String screenRange;

    /** 排查内容 */
    private String screenContent;

    /** 责任部门 */
    @Excel(name = "责任部门",cahceType = Excel.CacheType.DEPT)
    private String dept;

    /** 责任部门及其下属部门 */
    @TableField(exist = false)
    private List<Long> depts;

    /** 部门负责人 */
    @Excel(name = "部门负责人",cahceType = Excel.CacheType.USER)
    private String deptHead;

    /** 排查人员 */
    private String screenPersonnel;

    /** 备注 */
    private String note;

    /** 排查清单子表 */
    private String screenList;

    private  String taskSource;

    public String getTaskSource()
    {
        return taskSource;
    }

    public void setTaskSource(String taskSource)
    {
        this.taskSource = taskSource;
    }

    /** 排查清单库管理信息 */
    private List<HiddenSpecialScreenProgramSubtable> hiddenLibraryManagementList;

    public String getPlaceName()
    {
        return placeName;
    }

    public void setPlaceName(String placeName)
    {
        this.placeName = placeName;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setTaskName(String taskName)
    {
        this.taskName = taskName;
    }

    public String getTaskName()
    {
        return taskName;
    }
    public void setScreenMethod(String screenMethod)
    {
        this.screenMethod = screenMethod;
    }

    public String getScreenMethod()
    {
        return screenMethod;
    }
    public void setScreenTime(Date screenTime)
    {
        this.screenTime = screenTime;
    }

    public Date getScreenTime()
    {
        return screenTime;
    }
    public void setScreenLines(String screenLines)
    {
        this.screenLines = screenLines;
    }

    public String getScreenLines()
    {
        return screenLines;
    }
    public void setScreenRange(String screenRange)
    {
        this.screenRange = screenRange;
    }

    public String getScreenRange()
    {
        return screenRange;
    }
    public void setScreenContent(String screenContent)
    {
        this.screenContent = screenContent;
    }

    public String getScreenContent()
    {
        return screenContent;
    }
    public void setDept(String dept)
    {
        this.dept = dept;
    }

    public String getDept()
    {
        return dept;
    }
    public void setDeptHead(String deptHead)
    {
        this.deptHead = deptHead;
    }

    public String getDeptHead()
    {
        return deptHead;
    }
    public void setScreenPersonnel(String screenPersonnel)
    {
        this.screenPersonnel = screenPersonnel;
    }

    public String getScreenPersonnel()
    {
        return screenPersonnel;
    }
    public void setNote(String note)
    {
        this.note = note;
    }

    public String getNote()
    {
        return note;
    }
    public void setScreenList(String screenList)
    {
        this.screenList = screenList;
    }

    public String getScreenList()
    {
        return screenList;
    }

    public List<HiddenSpecialScreenProgramSubtable> getHiddenLibraryManagementList()
    {
        return hiddenLibraryManagementList;
    }

    public void setHiddenLibraryManagementList(List<HiddenSpecialScreenProgramSubtable> hiddenLibraryManagementList)
    {
        this.hiddenLibraryManagementList = hiddenLibraryManagementList;
    }

    public Date getStartTime()
    {
        return startTime;
    }

    public void setStartTime(Date startTime)
    {
        this.startTime = startTime;
    }

    public Date getEndTime()
    {
        return endTime;
    }

    public void setEndTime(Date endTime)
    {
        this.endTime = endTime;
    }

    @Override
    public String toString()
    {
        return "HiddenScreenProgram{" +
                "id=" + id +
                ", taskName='" + taskName + '\'' +
                ", screenMethod='" + screenMethod + '\'' +
                ", placeName='" + placeName + '\'' +
                ", screenTime=" + screenTime +
                ", startTime=" + startTime +
                ", endTime=" + endTime +
                ", screenLines='" + screenLines + '\'' +
                ", screenRange='" + screenRange + '\'' +
                ", screenContent='" + screenContent + '\'' +
                ", dept='" + dept + '\'' +
                ", deptHead='" + deptHead + '\'' +
                ", screenPersonnel='" + screenPersonnel + '\'' +
                ", note='" + note + '\'' +
                ", screenList='" + screenList + '\'' +
                ", hiddenLibraryManagementList=" + hiddenLibraryManagementList +
                '}';
    }

    public String getSerialCode() {
        return serialCode;
    }

    public void setSerialCode(String serialCode) {
        this.serialCode = serialCode;
    }

    public List<Long> getDepts() {
        return depts;
    }

    public void setDepts(List<Long> depts) {
        this.depts = depts;
    }
}
